﻿<%@ Page Title="" Language="C#" MasterPageFile="~/hgmanage/Main.Master" AutoEventWireup="true"
    CodeBehind="Advert.aspx.cs" Inherits="huaguwang.hgmanage.Advert.Advert" %>

<%@ Register Assembly="HGWebControls" Namespace="huaguwang.WebControls" TagPrefix="cc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Import Namespace="huaguwang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="server">
    <input id="HiddenID" name="HiddenID" type="hidden" value="" />
    <cc1:WebUserToolBar ID="WebUserToolBar1" runat="server" OnButton0="WebUserToolBar1_Button0"
        OnButton1="WebUserToolBar1_Button1" OnButton2="WebUserToolBar1_Button2" 
       OnButton3="WebUserToolBar1_Button3"  CssClass="toolbar" ButtonCSS="btn_done"
        OnButton4="WebUserToolBar1_Button4"  OnButton5="WebUserToolBar1_Button5">
    </cc1:WebUserToolBar>
    <div class="search_box">
        <ul>
            <li>
                <p>
                    <em>图片名称</em><asp:TextBox ID="txtTitle" runat="server"></asp:TextBox></p>
            </li>
            <li>
                <p>
                    <em>模块名称</em><asp:TextBox ID="txtMTitle" runat="server"></asp:TextBox></p>
            </li>
        </ul>
    </div>
    <div class="result_list">
        <dl class="mul_table">
            <asp:Repeater ID="Repeater1" runat="server">
                <HeaderTemplate>
                    <dt>
                        <ul>
                            <li style="width: 10%">选择<input id="CheckboxALL" name="DataCheckALL" type="checkbox"
                                onclick="javascript:CheckAllDefault(this);" /></li>
                            <li style="width: 20%; text-align: left;">图片名称</li>
                            <li style="width: 10%; text-align: left;">模块名称</li>
                            <li style="width: 10%; text-align: left;">板块名称</li>
                            <li style="width: 8%;">尺寸</li>
                            <li style="width: 8%">价格</li>
                            <li style="width: 8%">排序号</li>
                            <li style="width: 8%">状态</li>
                            <li style="width: 8%">更新时间</li>
                            <li style="width: 8%">操作人</li>
                        </ul>
                    </dt>
                </HeaderTemplate>
                <ItemTemplate>
                    <dd <%#(Container.ItemIndex % 2==0)?"class='odd'":"" %> onmouseover="javascript:limouseover(this);"
                        onmouseout="javascript:limouseout(this);">
                        <ul>
                            <li style="width: 10%">
                                <input id="Checkbox<%#Eval("id") %>" name="DataCheck" type="checkbox" value="<%#Eval("id") %>" />
                            </li>
                            <li style="width: 20%; text-align: left;" title="<%#Eval("Title") %>">
                                <%#Eval("Title").Exp_Trim().Exp_SubStringByLength(40,"") %></li>
                            <li style="width: 10%; text-align: left;" title="<%#Eval("Module") %>">
                                <%#Eval("Module")%></li>
                            <li style="width: 10%; text-align: left;">
                                <%#Eval("Plate") %></li>
                            <li style="width: 8%">
                                <%#Eval("Rules") %></li>
                            <li style="width: 8%">
                                <%#Eval("Price") %></li>
                            <li style="width: 8%">
                                <%#Eval("Topis")%></li>
                            <li style="width: 8%">
                                <%#Eval("State")%></li>
                            <li style="width: 8%">
                                <%#Eval("UpDate")%></li>
                            <li style="width: 8%">
                                <%#Eval("UserName")%></li>
                        </ul>
                    </dd>
                </ItemTemplate>
            </asp:Repeater>
        </dl>
    </div>
    <div class="pagebar">
        <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" FirstPageText="首页"
            HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
            ShowCustomInfoSection="Left" showinputbox="Never" ShowNavigationToolTip="True"
            PageSize="10" CustomInfoHTML="第%CurrentPageIndex%页/共%PageCount%页/共%RecordCount%条记录"
            OnPageChanging="Pager_PageChanging" TextAfterPageIndexBox="" CustomInfoSectionWidth="40%"
            CustomInfoStyle="text-align:left" PagingButtonLayoutType="None">
        </webdiyer:AspNetPager>
    </div>
</asp:Content>
